Skip to content

Conversation

@sidepelican
Copy link
Contributor

PostgresClient was using String(reflecting: Statement.self) to determine the name of a prepared statement instead of using the protocol-defined PostgresPreparedStatement.name.

Other parts of the codebase correctly utilize the name property.
This PR ensures consistency by using the explicit .name property as intended.

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.11%. Comparing base (7383207) to head (0a966bd).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #613      +/-   ##
==========================================
+ Coverage   75.88%   76.11%   +0.22%     
==========================================
  Files         134      134              
  Lines       10098    10098              
==========================================
+ Hits         7663     7686      +23     
+ Misses       2435     2412      -23     
Files with missing lines Coverage Δ
Sources/PostgresNIO/Pool/PostgresClient.swift 70.65% <100.00%> (ø)

... and 7 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sidepelican sidepelican force-pushed the prepared_statement_name branch from cb1fa2b to 0a966bd Compare December 19, 2025 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant